<?php
defined('SYS_RUN') or exit();

abstract class AService {

    static $_instance = array();

    function __get($name) {
        if(!isset(self::$_instance[$name])) {
            self::$_instance[$name] = Lib::get($name);
        }
        return self::$_instance[$name];
    }

}